﻿@model ZoomLa.SQLDAL.SQL.PageSetting
@{
    Layout = "~/Areas/User/Views/Shared/_empty.cshtml";
}
@section head{
    <title>黄页内容</title>
}
@section content{
<div>
    <ol class="breadcrumb">
        <li class="active">企业黄页</li>
        <li><a href="@Url.Action("MyContent", "Pages")">黄页管理</a></li>
        <li><a href="/Page/Default?pageid=@ViewBag.pageid" target="_blank">我的黄页</a> [<a href="MyContent?NodeID=@ViewBag.NodeID&status=-2">回收站</a>]</li>
    </ol>
    <div class="pull-left">
        @MvcHtmlString.Create(ViewBag.addhtml)
    </div>
    <div class="input-group hidden-xs" style="max-width: 404px;">
        <select class="form-control text_150" style="border-right:none;">
            <option value="0">按标题查找</option>
            <option value="1">按ID查找</option>
        </select>
        <input type="text" class="form-control text_md mvcparam" id="skey" name="skey" />
        <span class="input-group-btn">
            <input type="button" class="btn btn-primary" value="搜索" onclick="mvcpage.load();" />
        </span>
    </div>
</div>
<div class="margin_t5 table-responsive">
    @Html.Partial("MyContent_List", Model)
</div>
<div class="margin_t5">
    @{
        if (ViewBag.Status.Equals("-2"))
        {
            <input type="button" value="批量还原" class="btn btn-info" onclick="mvcpage.bat({url: 'content_recover' });" />
        }
        else
        {
            <input type="button" value="批量删除" class="btn btn-info" onclick="mvcpage.bat({url: 'content_del', confirm: '确定要批量移除吗' });" />
        }
    }
</div>
<div style="display:none;">
    <input type="hidden" id="status" value="@ViewBag.Status" class="mvcparam" />
    <input type="hidden" id="nodeid" value="@ViewBag.NodeID" class="mvcparam" />
</div>
}
@section script{
}
